<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="favicon.ico">
    <title>{$meta_title}</title>
    <link href="__STATIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="__CSS__/index.css">
    <link href="__STATIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="__STATIC__/bootstrap/css/bootstrap-datetimepicker.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="__CSS__/index.css">
    <script src="__STATIC__/jquery/jquery.min.js"></script>
    <script src="__JS__/common.js"></script>
</head>
<body id="wrapper1">
<!-- top -->
<div>
    <div class="top1">
        <div class="container">
            <div class="top-logo">
                <!-- logo img-->
                <div class="logo1"><a href="{:U('Index/index')}"><img src="__IMG__/logo1.png" /></a></div>
                <!-- logo img end-->
                <!-- personal center  -->
                <if condition="$username">
                    <div class="dropdown"><button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
                        {:session('user_auth.username')}
                        <span class="caret"></span>
                    </button>
                        <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
                            <li><a href="{:U('User/changePwd')}">修改密码</a></li>
                            <li><a href="{:U('User/logout')}">退出</a></li>
                        </ul>
                    </div>
                   <else/>
                    <ul class="personal">
                        <li><a href="{:U('User/index')}">用户中心</a></li>
                        <li>|</li>
                        <li><a href="{:U('Institution/Index/index')}">工作站</a></li>
                    </ul>
                </if>
                <!-- personal center end  -->
                <!-- slider -->
                <ul class="slider-logo">
                    <a href="{:U('Task/add')}"><li>查新委托</li></a>
                    <a href="{:U('Page/server')}"><li>服务流程</li></a>
                    <a href="{:U('Page/fees')}"><li>收费标准</li></a>
                    <a href="{:U('Page/UserInformation')}"><li>用户须知</li></a>
                    <a href="{:U('Page/help')}"><li>使用帮助</li></a>
                    <a href="{:U('Task/index')}"><li>个人中心</li></a>
                </ul>
                <!-- slider end -->
            </div>
        </div>
    </div>

    <!-- top end -->
    <!-- main -->
    <block name="content"></block>
    <!-- main end-->
    <!-- underlogo -->
    <div class="error_underlogo1">Copyright 2015 技术支持：SmartLib智慧图书馆</div>
    <!-- underlogo end-->
</div>
<script src="__STATIC__/jquery/jquery.min.js"></script>
<script src="__STATIC__/easing.jquery.js" type="text/javascript"></script>
<script src="__STATIC__/bootstrap/js/bootstrap.min.js"></script>
<script src="__STATIC__/bootstrap/js/bootstrap-datetimepicker.js"></script>
<script src="__JS__/common.js"></script>
<block name="script"></block>
</body>
</html>